import request from '@/utils/request'

// 登录
export const login = (data) => request.Post(`doLogin`,data)
// 获取菜单
export const getMenusByUserId = (data) => request.Post(`menu/getMenusByUserId`,data)
// 退出
export const logout = () => request.Post(`user/logout`)
